package norms;

public class TNorm implements INorm {

	@Override
	public double max(double a, double b) {
		if (a+b-1 > 0) {
			return a + b - 1;
		} else {
			return 0;
		}
	}

	@Override
	public double min(double a, double b) {
		if (a < b) {
			return a;
		} else {
			return b;
		}
	}

}
